﻿<%@ Page Title="Loggin" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ActivityLog.aspx.cs" Inherits="Vision.Web.Pages.ActivityLog" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <asp:LinkButton Text="<< Back" Font-Size="8" ID="btnBack" runat="server" onclick="btnBack_Click" />
    <h2>Activity Log</h2>
    <div>        
        <span>
            <asp:Label Text="Start Date:" Width="50" Font-Size="8" runat="server"/>
            <asp:TextBox ID="txtStartDate" runat="server" Width="75" Font-Size="8"/>            
            <asp:CalendarExtender ID="caStartDate" TargetControlID="txtStartDate" runat="server"/>
        </span>
        <span>
            <asp:Label Text="End Date:" Width="50" Font-Size="8" runat="server"/>            
            <asp:TextBox ID="txtEndDate" runat="server" Width="75" Font-Size="8"/>                            
            <asp:CalendarExtender ID="caEndDate" TargetControlID="txtEndDate" runat="server"/>
        </span>
        <asp:LinkButton Text="Search" Font-Size="8" ID="btnSearch" runat="server" onclick="btnSearch_Click" />
    </div>
    <div>
        <span>
            <asp:Label Text="Activity:" Width="65" runat="server" Font-Size="8"/>
            <asp:Label ID="lblActivtyName" runat="server" Font-Size="8"/>
        </span>
    </div>        
    <div>
        <span>
            <asp:Label Text="Description:" Width="65" runat="server" Font-Size="8"/>
            <asp:Label ID="lblActivtyDesc" runat="server" Font-Size="8"/>
        </span>
    </div>    
    <br />
    <div>
        <asp:GridView ID="gvActivityLog" AutoGenerateColumns="false" runat="server">
            <HeaderStyle BackColor="#4b6c9e" ForeColor="Black" Font-Size="8" Font-Bold="true" />
            <RowStyle Font-Size="8" />
            <Columns>                
                <asp:BoundField HeaderText="Event" DataField="Event"/>
                <asp:BoundField HeaderText="Data" DataField="Data"/>
                <asp:BoundField HeaderText="Date" DataField="Date"/>                
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
